package copyengine.dataLayer.query.server
{

	public class CEServerQueryManger
	{
		private static var _instance:CEServerQueryManger;

		public static function get instance():CEServerQueryManger
		{
			if (_instance == null)
			{
				_instance = new CEServerQueryManger();
			}
			return _instance;
		}

		private var factory:ICEServerQueryExcuteFactory;

		public function CEServerQueryManger()
		{
		}

		public function initialize(_factory:ICEServerQueryExcuteFactory):void
		{
			factory = _factory;
		}

		public function excuteServerQuery(_queryName:String, _notificationName:String, _weight:int, _param:Object = null):void
		{
			factory.excuteServerQuery(_queryName,_notificationName,_weight,_param);
		}

	}
}